from django.conf.urls import url

from web.views import account, home, project

app_name = 'web'

urlpatterns = [
    url('send/sms/', account.send_sms, name='send_sms'),
    url('login/sms/', account.login_sms, name='login_sms'),
    url('register/', account.register, name='register'),
    url('login/', account.login, name='login'),
    url('image/code/', account.image_code, name='image_code'),
    url('index/', home.index, name='index'),
    url('logout/', account.logout, name='logout'),
    # 项目管理
    url('project/list', project.project_list, name='project_list')
]
